<style type="text/css">
    div.form { margin: 0; }

    div.form input, div.form textarea, div.form select { margin: 0.2em 0 0.5em 0; }

    div.form fieldset {
        border: 1px solid #DDD;
        padding: 10px;
        margin: 0 0 10px 0;
        -moz-border-radius:7px;
    }

    div.form label {
        font-weight: bold;
        font-size: 0.9em;
        display: block;
    }

    div.form .row { margin: 5px 0; }
    div.form .row div.title {
        height: 30px; line-height: 30px;
    }

    div.form .hint {
        margin: 0;
        padding: 0;
        color: #999;
    }

    div.form .note { font-style: italic; }

    div.form span.required {
        color: red;
    }

    div.form label.error, div.form span.error {
        color: #C00;
    }

    div.form input.error,
    div.form textarea.error,
    div.form select.error {
        background: #FEE;
        border-color: #C00;
    }

    div.wide form label {
        float: left;
        margin-right: 10px;
        position: relative;
        text-align: right;
        width: 100px;
    }

    div.wide form .row {
        clear: left;
    }

    div.wide form .buttons {
        clear: left;
        padding-left: 110px;
    }
</style>
<?php // CVarDumper::dump($comment, 10, true); ?>
<div class="form">

    <?php echo CHtml::beginForm(); ?>
    <div class="row">
        <div class="title">
            <?php echo CHtml::activeLabelEx($comment, 'body'); ?>
        </div>
        <div>
        <?php
        echo CHtml::activeTextArea($comment, 'body', array(
                'style' => 'width: 100%; height: 100px;'
            ));
        ?>
        </div>
    </div>

    <div class="row buttons">
        <?php echo CHtml::hiddenField('feedback_id', $comment->feedback_id); ?>
        <?php
        echo CHtml::submitButton($comment->isNewRecord ? Yii::t('common', 'save') : Yii::t('common', 'update'),
            array('class' => 'btn')
        );
        ?>
    </div>

    <?php echo CHtml::endForm(); ?>

</div><!-- form -->